package com.lesso.yjy.sunflower.domain.repository;

import com.baomidou.mybatisplus.plugins.Page;
import com.lesso.yjy.sunflower.model.Employee;
import com.lesso.yjy.sunflower.model.EmployeeAttendanceRule;
import com.lesso.yjy.sunflower.pojo.dto.EmployeeAttendanceRuleDTO;
import com.lesso.yjy.sunflower.pojo.dto.EmployeeAttendanceRuleQueryDTO;
import com.lesso.yjy.sunflower.pojo.dto.EmployeeQueryDTO;
import com.lesso.yjy.sunflower.pojo.vo.EmployeeAttendanceRuleVO;
import com.lesso.yjy.sunflower.pojo.vo.EmployeeVO;

public interface EmployeeAttendanceRuleRepository {
    Long save(EmployeeAttendanceRule employeeAttendanceRule);

    Page<EmployeeAttendanceRuleVO> getPageList(EmployeeAttendanceRuleQueryDTO dto);

    Page<EmployeeAttendanceRuleVO> getCustomPageList(EmployeeAttendanceRuleQueryDTO dto);

    void removeById(Long id);

    void updateById(EmployeeAttendanceRuleDTO dto);
}
